<html>
    <head>
        <title>Welcome to Grails</title>
		<meta name="layout" content="main" />
    </head>
    <body>
        <h1 style="margin-left:20px;">Wedding planner'a hos geldiniz</h1>
        <p style="margin-left:20px;width:80%">Bu programin iki amaci var;</p>
        <div class="dialog" style="margin-left:20px;width:60%;">
            <ul>
                <li>
                    Galaksi'de en cok sevdigim insan olan Bitanem'e bir supriz yapabilmek
                </li>
                <li>
                    Ve ikincisi ise boz zamanlarimda ogrenmeye calistigim groovy/grails bilgimi gelistirmek
                </li>
            </ul>
        </div>
        <br />
       
        <br />
        <div id="weddinglist">
            <g:each var="wedding" in="${Wedding.list()}">
                <b>${wedding.bride.name} with ${wedding.groom.name} at ${wedding.date}</b>
            </g:each>
        </div>


        <div class="dialog" style="margin-left:20px;width:60%;">
            <ul>
              <g:each var="c" in="${grailsApplication.controllerClasses}">
                    <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
              </g:each>
            </ul>
        </div>
    </body>
</html>